<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>管理登录</title>
<!--{ include file="header.html" }-->
<script language="javascript">
function chkLoginForm(){
	var username = $.trim($("#username").val());
	var password = $.trim($("#password").val());
	if(!username || !password){
		alert("账号和密码不能为空！");
		return false;
	}
}
</script>
</head>

<body>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form name="loginForm" method="post" action="./index.php?module=admin&act=login" onSubmit="return chkLoginForm();">
<table width="400"  border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#0066FF">
  <tr bgcolor="#96d6f8">
    <td height="20" colspan="2">&nbsp;系统登录</td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td width="95" height="20" align="center" bgcolor="#FFFFFF">账号：</td>
    <td width="298"><input name="username" type="text" id="username" value="<!--{ $userName }-->"></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="20" align="center" bgcolor="#FFFFFF">密码：</td>
    <td><input name="password" type="password" id="password" value=""></td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="20" bgcolor="#FFFFFF">&nbsp;</td>
    <td><input type="submit" name="Submit" value="提交">
      <input type="reset" name="Submit" value="重置">
      <input type="hidden" name="chk" value="on">
      </td>
  </tr>
<!--{ if $errmsg != "" }-->
  <tr bgcolor="#FFFFFF">
    <td height="20" colspan="2" bgcolor="#FFFFFF"><b><font color="#FF0000"><!--{ $errmsg }--></font></b></td>
  </tr>
<!--{ /if }-->
</table>
</form>
</body>
</html>